h2 {
    line-height: 60px;
    text-align: center;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

nav {
    height: 30px;
    width: 100%;

    .scr_t {
        height: 100%;
        width: 100%;
        background: #fff;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-around;
        font-size: 12px;

        .scr_img_1,
        .scr_img_2,
        .scr_img_3,
        .scr_img_4 {
            width: 2.1%;
        }
    }
}

.singleAll {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

    .singleGoodsContainer {
        width: 48%;
        min-height: 300px;
        padding: 4px 0;
        margin: 0 1%;

        .priceInfo {
            width: 100%;
            margin-top: 6px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            font-size: .3rem
        }
    }

    .mod {
        width: 100%;
        height: 80%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        font-size: 16px;
        align-content: flex-start;
        position: relative;
        background: red;

        .mod_img {
            width: 100%;
            height: 100%;
        }
    }

    .mod_d1 {
        font-size: 12px;
        margin-top: 10px;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .mod_btn {
        font-size: 12px;
        width: 50%;
        height: 20px;
        background-color: rgba(1, 1, 1, 0);
        border: 1px solid #000;
        margin-top: 4px;
    }



    .mod>div {
        width: 100%;
        text-align: center
    }

    .discountImg,
    .newGoods,
    .salesQty {
        position: absolute;
        display: block;
        width: 29%;
        right: 0;
        top: 0
    }

    .discountImg img,
    .kingTag img,
    .newGoods img,
    .salesQty img {
        width: 100%
    }

    .discount1 {
        text-align: center;
        border: 1px solid red;
        color: red;
        font-size: 12px;
        padding: 0 4px;
        border-radius: 2px;
        line-height: 16px
    }

    .originalPrice1 {
        color: #929090;
        text-decoration: line-through
    }
}

.none {
    display: none
}

